$(document).ready(function() {
	$('#draggable').draggable();
	$(':button').click(function() {
		$('#draggable').draggable('destroy');
	});
});